home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7356 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  851 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Do you have ever pass structures?
  5. Date: 26 Feb 1996 10:23:45 +1300
  6. Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
  7. Message-ID: <4gqk11$e7l@airdmhor.gen.nz>
  8. References: <4ge8mi$qjm@srvr1.engin.umich.edu> <4ggsio$343@news-f.iadfw.net>
  9. NNTP-Posting-Host: airdmhor.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Adam Peterson:
  13. > The *disadvantage* is speed and space. Passing a pointer is just
  14. > word//double word.  Passing the actual structure requires loading the
  15. > stack with all the elements of the structure...slow...
  16.  
  17.   But once it's done you don't have this pointer-thing to dereference all
  18. the time (of course, this depends on how much register space you have - will
  19. I ever get over my Intelesque hangups?).
  20.